package com.rf.richfitwheel.admin.sys.model;

import java.util.Date;

public class Menu {
    private String id;

    private String parentId;

    private String name;

    private String alias;

    private String url;

    private String perms;

    private Integer type;

    private String icon;

    private Integer orderNum;

    private String sysResource;

    private String tenantId;

    private String terminal;

    private String creater;

    private Date createTime;

    private String modUser;

    private Date modTime;

    private String moduleType;

    public Menu(String id, String parentId, String name, String alias, String url, String perms, Integer type, String icon, Integer orderNum, String sysResource, String tenantId, String terminal, String creater, Date createTime, String modUser, Date modTime,String moduleType) {
        this.id = id;
        this.parentId = parentId;
        this.name = name;
        this.alias = alias;
        this.url = url;
        this.perms = perms;
        this.type = type;
        this.icon = icon;
        this.orderNum = orderNum;
        this.sysResource = sysResource;
        this.tenantId = tenantId;
        this.terminal = terminal;
        this.creater = creater;
        this.createTime = createTime;
        this.modUser = modUser;
        this.modTime = modTime;
        this.moduleType = moduleType;
    }

    public Menu() {
        super();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId == null ? null : parentId.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias == null ? null : alias.trim();
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    public String getPerms() {
        return perms;
    }

    public void setPerms(String perms) {
        this.perms = perms == null ? null : perms.trim();
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon == null ? null : icon.trim();
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public String getSysResource() {
        return sysResource;
    }

    public void setSysResource(String sysResource) {
        this.sysResource = sysResource == null ? null : sysResource.trim();
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId == null ? null : tenantId.trim();
    }

    public String getTerminal() {
        return terminal;
    }

    public void setTerminal(String terminal) {
        this.terminal = terminal == null ? null : terminal.trim();
    }

    public String getCreater() {
        return creater;
    }

    public void setCreater(String creater) {
        this.creater = creater == null ? null : creater.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getModUser() {
        return modUser;
    }

    public void setModUser(String modUser) {
        this.modUser = modUser == null ? null : modUser.trim();
    }

    public Date getModTime() {
        return modTime;
    }

    public void setModTime(Date modTime) {
        this.modTime = modTime;
    }

    public String getModuleType() {
        return moduleType;
    }

    public void setModuleType(String moduleType) {
        this.moduleType = moduleType;
    }

    /* （非 Javadoc）
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("Menu [id=");
		builder.append(id);
		builder.append(", parentId=");
		builder.append(parentId);
		builder.append(", name=");
		builder.append(name);
		builder.append(", alias=");
		builder.append(alias);
		builder.append(", url=");
		builder.append(url);
		builder.append(", perms=");
		builder.append(perms);
		builder.append(", type=");
		builder.append(type);
		builder.append(", icon=");
		builder.append(icon);
		builder.append(", orderNum=");
		builder.append(orderNum);
		builder.append(", sysResource=");
		builder.append(sysResource);
		builder.append(", tenantId=");
		builder.append(tenantId);
		builder.append(", terminal=");
		builder.append(terminal);
		builder.append(", creater=");
		builder.append(creater);
		builder.append(", createTime=");
		builder.append(createTime);
		builder.append(", modUser=");
		builder.append(modUser);
		builder.append(", modTime=");
		builder.append(modTime);
        builder.append(", moduleType=");
        builder.append(moduleType);
		builder.append("]");
		return builder.toString();
	}
}